package com.opgea.crm.repository.security;

import java.util.List;

import com.opgea.crm.domain.entities.security.ResourceDetails;

public interface ResourceDetailsRepository {

	public void create(ResourceDetails resourceDetails);
	public ResourceDetails find(Long id);
	public List<ResourceDetails> findAll();
	public void update(ResourceDetails resourceDetails);
	public void remove(Long id);
	
	public List<ResourceDetails> findByRole(Long roleId);
}
